package day5.Work;

//项目经理类
public class Manager extends Employee{
    private double bonus;

    public Manager() {
    }

    public Manager(String id, String name, double bonus) {
        super(id, name);
        this.bonus = bonus;
    }

    //重写方法
    @Override
    public void doWork() {
        super.doWork();
        System.out.println("项目经理在工作");
    }
}
